From: Brion Vibber Date: Tue, 20 May 2003 01:08:48 +0000 (+0000) Subject: Fix admin count to not include bots X-Git-Tag: 1.1.0~539 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=da896db1d85505e9cfd02d2420c76927f0b54dfc;p=lhc%2Fweb%2Fwiklou.git Fix admin count to not include bots --- diff --git a/includes/SpecialStatistics.php b/includes/SpecialStatistics.php index cbbbb64c1d..8c4335ffdc 100644 --- a/includes/SpecialStatistics.php +++ b/includes/SpecialStatistics.php @@ -36,7 +36,7 @@ function wfSpecialStatistics() $total = $row->total; $sql = "SELECT COUNT(user_id) AS total FROM user " . - "WHERE user_rights <> ''"; + "WHERE user_rights LIKE '%sysop%'"; $res = wfQuery( $sql, $fname ); $row = wfFetchObject( $res ); $admins = $row->total;